package com.zimi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zimi.model.SysOrgExtend;
import com.zimi.model.SysPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 机构职务表 mapper
 *
 * @author lnintr
 * @since 2019-05-22
 */
@Mapper
public interface SysPostMapper extends BaseMapper<SysPost> {
    List<SysOrgExtend> selectPostList(List<Integer> orgIds);

    List<SysOrgExtend> selectPostListByUserId(int userId);

    List<SysOrgExtend> selectPostNameByPostIds(List<Integer> postIds);
}
